package xxy.com.yangproject.global;

import android.app.Application;
import android.content.Context;

import java.util.concurrent.atomic.AtomicInteger;

import me.jessyan.autosize.AutoSizeConfig;

public class YangApplication extends Application {
    public AtomicInteger ATOMIC_INTEGER = new AtomicInteger(1);
    public static YangApplication applictionContext;

    @Override
    public void onCreate() {
        super.onCreate();
       applictionContext = this;

       //jessyan atuosize适配
//        AutoSizeConfig.getInstance().setScreenWidth(720);
    }

    public AtomicInteger getAtomicInteger(){
        return ATOMIC_INTEGER;
    }

}
